export interface DeptQuery {
  deptName?: string
  enabled?: boolean
  excludeDeptIds?: Array<string>
}

export interface DeptResp {
  deptId: string
  parentDeptId: string
  deptName: string
  deptCode: string
  deptCodeSeq: string
  sort: number
  remark: string
  createTime: Date
  enabled: boolean
  children: Array<DeptResp>
}

export interface DeptAddReq {
  deptName: string
  parentDeptId?: string
  sort: number
  enabled: boolean
  remark?: string
}

export interface DeptUpdateReq {
  deptId: string
  deptName: string
  parentDeptId: string
  sort: number
  enabled: boolean
  remark?: string
}

export interface DeptDeleteReq {
  deptId: string
}
